package com.huang.wishstar.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hmx
 * @since 2021-09-17
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
public class Memory implements Serializable {

    private static final long serialVersionUID=1L;

      /**
     * 纪念日id
     */
        @TableId(value = "memory_id", type = IdType.AUTO)
      private Integer memoryId;

      /**
     * 用户id
     */
      private Integer userId;

      /**
     * 纪念日名称
     */
      private String memoryTitle;

      /**
     * 纪念日日期
     */
      private LocalDate memoryDate;

      /**
     * 是否开启每年重复
     */
      private Integer isRepeat;

      /**
     * 纪念日类型
     */
      private Integer type;


}
